// model/recipe_state.dart
import 'package:casdon/modules/recipe/data/model/recipe_module_model.dart';

class RecipeModuleListState {
  final List<RecipeModuleModel> data;

  RecipeModuleListState copyWith({
    List<RecipeModuleModel>? data,
  }) {
    return RecipeModuleListState(
      data: data ?? this.data,
    );
  }
  factory RecipeModuleListState.initial() => RecipeModuleListState(data: []);
  RecipeModuleListState({required this.data});
}